var util = require('../../utils/util.js')
var app = getApp()

Page({
  data: {
    detail:[]
  },
  onLoad: function () {
    var that = this
    that.setData({ detail: wx.getStorageSync('detail')||[]});
  },
  
  onShareAppMessage: function (res) {
    if (res.from === 'button') {
      // 来自页面内转发按钮
    }
    return {
      title: '综合资讯',
      path: '/pages/index/index',
      success: function (res) {
        // 转发成功
        console.log(res);
      },
      fail: function (res) {
        // 转发失败
        console.log(res);
      }
    }
  }

})
